import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class TestBCrypt {
    public static void main(String[] args) {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        
        String dbPassword = "$2b$10$2TAXfztRpHsu6A0iEMFObepK5LwnJmsBgx8YJ0eALQ9Biiic";
        String rawPassword = "123456";
        
        System.out.println("Database password: " + dbPassword);
        System.out.println("Raw password: " + rawPassword);
        
        boolean matches = encoder.matches(rawPassword, dbPassword);
        System.out.println("Password match result: " + matches);
    }
}